package com.qianyanglong.dbhelper.frame;

import com.qianyanglong.dbhelper.menu.MainMenu;

import javax.swing.*;

public class MainFrame extends JFrame {

    public MainFrame() {
        setTitle("DBHelper");
        setSize(800, 600);
        setExtendedState(JFrame.MAXIMIZED_BOTH);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setLocationRelativeTo(null);
        setJMenuBar(new MainMenu());
        setVisible(true);
    }

}
